package com.authservice.authservice.domain.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author zxb
 * @version 1.0
 * @date 2025-04-07 11:39
 */
@Data
public class UpdatePasswordDTO {

    /**
     * 账号
     */
    @NotNull
    private String account;

    /**
     * 旧密码
     */
    @NotNull
    private String usedPassword;

    /**
     * 新密码
     */
    @NotNull
    private String newPassword;

}
